package com.isoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.isoft.entity.BeginTime;
import com.isoft.entity.Endplace;
import com.isoft.entity.FlightLine;

import java.util.List;

public interface IFlightLineService {

    public IPage<FlightLine> selectByConPage(Integer currentPage, Integer size,String btime,String city);
    public List<FlightLine> selectAllLine();

    public IPage<FlightLine> selectAllLinePage(int currentPage, int size);
    public List<FlightLine> checkUnPublicLIne();

    public IPage<FlightLine> selectUnPublicLinePage(int currentPage, int size);

   
    public List<FlightLine> selectByCondition(String starttime,String endtime,String city);


    public Boolean addLine(FlightLine flightLine);
   
  public Boolean passPermit(Integer id);
    

    public Boolean updateLine(FlightLine flightLine);

    public List<FlightLine> selectByDay(String day);

    public Boolean deleteLine(Integer id);

    public List<Endplace> selectByEndplace();

    List<BeginTime> selectByBeginTime();
}
